import httpRequest from '@/utils/request'
   export function  save (params) {
        return httpRequest({
            url: '/admin/weekscore/save',
            method: 'POST',
            data: params
        })
    }
    export function  update (params) {
        return httpRequest({
            url: '/admin/weekscore/update',
            method: 'POST',
            data: params
        })
    }

    export function  deleteAc (params) {
        const data = {
            id: params
        }
        return httpRequest({
            url: '/admin/weekscore/delete',
            method: 'GET',
            params: data
        })
    }

    export function  info (params) {
        const data = {
            id: params.id
        }
        return httpRequest({
            url: '/admin/weekscore/info/',
            method: 'GET',
            params: data
        })
    }

    export function list (params) {
        return httpRequest({
            url: '/admin/weekscore/list',
            method: 'GET',
            params
        })
    }

